package apidocs;


/**
 * @author zhangzc
 * @since 2017/9/7
 */
public class ApiStatsMonitor {

    private static Monitor monitor = null;

    public static void registerMonitor(Monitor m){
        monitor = m;
    }

    public static Monitor getMonitor(){
        return monitor;
    }

    public interface Monitor{

        ApiStatsBean getStats(String invoker);
    }
}
